<div class="panel panel-default">
    <volist name="list" id="vo">
    <div class="col-md-3">
        <div class="panel panel-default">
            <div class="panel-heading" style="padding:10px;">
                <h4 class="panel-title">{$vo.title}（<a href="/template/update/id/{$vo.id}" style="font-size:12;font-weight:normal;color:green">修改</a>）</h4>
            </div>
            <div class="panel-body" style="padding:0px;">
                <div class="row row-pad-5">
                    <div class="col-lg-12">
                        <img src="{$vo.cover|imageUrl=300,300}" style="width:100%;"/>
                    </div>
                </div>
            </div>
            <div class="panel-footer">
                <?php if($vo['id'] == C('tid')): ?>
                <a class="btn btn-primary btn-sm btn-block" href="javascript:;" disabled>已选择</a>
                <?php else: ?>
                <a class="btn btn-white btn-sm btn-block" href="/template/change?tid={$vo.id}">选择并设置模板</a>
                <?php endif; ?>
            </div>
        </div>
    </div>
    </volist>
</div>
